import { Component } from 'react'
import './index.css'

class MySix extends Component {
  state = {
    count: 0,
    obj: {
      name: '哈哈'
    },
    list: []
  }

  render () {
    return <div>
      <h2>我是类组件</h2>
      <ul>
        <li>{this.state.count}</li>
        <li>{this.state.obj.name}</li>
        <li></li>
      </ul>
      </div>
  }
}

export default MySix